package com.ruoyi.cpi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cpi implements Serializable {
    private static final long serialVersionUID = 1L;

    /** CPI_ID */
    @TableId(type = IdType.AUTO)
    private Long cpiid;

    /** 月份 */
    private Long mid;
    @Excel(name = "月份")
    @TableField(exist = false) //该属性不在表中
    private String mname;

    /** 分类 */
    private Long cid;
    @Excel(name = "分类")
    @TableField(exist = false) //该属性不在表中
    private String cname;

    /** 地区 */
    private Long rid;
    @Excel(name = "地区")
    @TableField(exist = false) //该属性不在表中
    private String rname;

    /** CPI */
    @Excel(name = "CPI")
    private String cpi;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createtime;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private String modifytime;

    /** 删除标记 */
    @TableLogic
    private Long deleted;
}
